package com.vpen.server.one.model;

import lombok.Data;
import lombok.experimental.Accessors;

/**
 * 描述
 *
 * @author 韦鹏
 * @date 2022/11/27 12:59
 */
@Data
@Accessors(chain = true)
public class ChatMessage {
    private MessageType type;
    private String content;
    private String sender;

    public enum MessageType {
        CHAT,
        JOIN,
        LEAVE
    }
}
